import request from '@/utils/request'

export function registerConsumer(consumer) {
  return request({
    url: '/reception/register',
    method: 'post',
    data: consumer
  })
}

export function registerLogin(consumer) {
  return request({
    url: '/reception/login',
    method: 'post',
    data: consumer
  })
}
